package org.jeecg.modules.yinsheng.command.quickpayment;

import java.io.Serializable;

import org.jeecg.modules.yinsheng.annotation.Length;
import org.jeecg.modules.yinsheng.annotation.NotBlank;

/**
 * 
 * <P>创建订单和登记明细请求参数-线上订单信息api</P>
 * 
 * @version $Id$
 * @user zcw 2021年6月3日 上午10:40:57
 */
public class OnlineOrderMsgCommand implements Serializable {

	private static final long serialVersionUID = -6111034823259489517L;

	// （订单系统的唯一）订单编号(必填)
	@NotBlank(message = "商户订单号不能为空")
	@Length(max = 32, message = "商户订单号最大长度不能超过32个字符")
	private String merchantOrderNo;

	// 商户交易日期（格式：yyyyMMdd）(必填)
	@NotBlank(message = "商户交易日期不能为空")
	@Length(min = 8, max = 8, message = "商户交易日期格式不规范")
	private String shopDate;

	// 商品的标题/交易标题 (必填)
	@NotBlank(message = "商品的标题不能为空")
	private String orderDesc;

	// 交易超时时间(取值范围：1m～15d)(必填)
	@NotBlank(message = "交易超时时间不能为空")
	private String paymentValidTime;

	// 后台异步通知地址(必填)
	@NotBlank(message = "后台异步通知地址不能为空")
	private String backUrl;

	@NotBlank(message = "收款方商户号不能为空")
	@Length(max = 20, message = "收款方商户号最大长度不能超过20个字符")
	private String merchantNo;

	// 订单所属省编号 备注：省市编码（无卡快捷）
	private String province;

	// 订单所属市编号 备注：省市编码（无卡快捷）
	private String city;

	public String getShopDate() {
		return shopDate;
	}

	public void setShopDate(String shopDate) {
		this.shopDate = shopDate;
	}

	public String getOrderDesc() {
		return orderDesc;
	}

	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}

	public String getPaymentValidTime() {
		return paymentValidTime;
	}

	public void setPaymentValidTime(String paymentValidTime) {
		this.paymentValidTime = paymentValidTime;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}

	public String getMerchantOrderNo() {
		return merchantOrderNo;
	}

	public void setMerchantOrderNo(String merchantOrderNo) {
		this.merchantOrderNo = merchantOrderNo;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getMerchantNo() {
		return merchantNo;
	}

	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

}
